#!/bin/sh

# Deactivate thing-frontend fastcgi module.
rm /etc/lighttpd/conf-enabled/20-control.conf

# Display message about re-enabling Apache, bonscript and cloud9
echo "Re-enable Apache web service with following commands"
echo "systemctl start apache2.service"
echo "systemctl enable apache2.service"
echo ""
echo "Re-enable bonescript service with following commands"
echo "systemctl start bonescript.socket"
echo "systemctl enable bonescript.socket"
echo "systemctl start bonescript.service"
echo "systemctl enable bonescript.service"
echo "systemctl start bonescript-autorun.service"
echo "systemctl enable bonescript-autorun.service"
echo ""
echo "Re-enable cloud9 IDE service with following commands"
echo "systemctl start cloud9.socket"
echo "systemctl enable cloud9.socket"
echo "systemctl start cloud9.service"
echo "systemctl enable cloud9.service"

